package cn.kw0501.tms.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import java.time.LocalDateTime;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 车辆信息
 * </p>
 *
 * @author Aedes
 * @since 2022-11-15
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("info_truck")
public class Truck implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    private String id;

    /**
     * 司机id
     */
    private String driverId;

    /**
     * 车牌号
     */
    private String truckNum;

    /**
     * 类型:0.自有车辆,1.三方车辆
     */
    private Integer type;

    /**
     * 状态:0.空闲,1.忙碌,2.维修
     */
    private Integer state;

    /**
     * 行驶证号
     */
    private String transportNum;

    /**
     * 行驶证照片
     */
    private String transportImg;

    /**
     * 核定载重
     */
    private Integer totalWeight;

    /**
     * 创建时间
     */
    private LocalDateTime createTime;


}
